package com.tao.power.Service;

import com.tao.power.Dto.Result;
import com.tao.power.Pojo.Menu;

import java.util.List;

public interface MenuService {

    Result queryMenus();

    Result queryMenusList(Integer count,Integer page);

    Result deleteMenus(Integer id);

    Result updateMenus(Menu menu) throws Exception;

    Result insertMenus(Menu menu) throws Exception;

    Result queryMenusBySearch(String menuName, String menuStatus, String menuType,Integer currentPage,Integer pageSize);

    Result batchDel(List<Integer> idList);

    Result queryMenuByType();

    Result updateMenuStatus(Menu menu);
}
